/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.aeso.betabit;

import br.aeso.betabit.service.rmi.ApostaServiceImpl;
import br.aeso.betabit.service.soap.ApostadorServiceImpl;
import br.aeso.betabit.util.REST;
import br.aeso.betabit.util.RMI;
import br.aeso.betabit.util.SOAP;
import java.rmi.RemoteException;

/**
 *
 * @author Edson
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws RemoteException {
        RMI.startup(new ApostaServiceImpl());
        SOAP.startup(new ApostadorServiceImpl());
        REST.startup();
    }
}